//
//  SerialModel.m
//  YHYRealx
//
//  Created by yanghuiyan on 16/4/23.
//  Copyright © 2016年 yanghuiyan. All rights reserved.
//

#import "SerialModel.h"
#import "AutoModel.h"
@implementation SerialModel

- (void)dealloc {
    
    [_authorNew release];
    [_title release];
    [_excerpt release];
    [_user_name release];
    [super dealloc];
}

- (void)setValue:(id)value forUndefinedKey:(NSString *)key {
    if ([key isEqualToString:@"author"]) {
        self.authorNew = [[AutoModel alloc] initWithDataSource:value];
    }
}


@end
